<?php
/**
 * Enter description here ...
 * @author Micou13630
 *
 */
class EmailValidator extends RegexpValidator {
	
	/**
	 * Constructeur
	 * @param unknown_type $errorMessage
	 */
	public function EmailValidator($errorMessage = null) {
		
		parent::RegexpValidator("^([a-zA-Z0-9_.\-])+[@]+([a-zA-Z0-9.\-])+[.]+[a-zA-Z0-9]{2,4}$", $errorMessage);
	}
}
?>